//
//  AppDelegate.m
//  breadPro
//
//  Created by 刘文超 on 2019/7/2.
//  Copyright © 2019 刘文超. All rights reserved.
//

#import "AppDelegate.h"
#import "LS_TabbarControllerConfig.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    //设置根试图控制器
    [self setRootController];
    
    return YES;
}
-(void)setRootController
{
    self.window = [[UIWindow alloc]init];
    self.window.frame = [UIScreen mainScreen].bounds;
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
    LS_TabbarControllerConfig *tabBarControllerConfig = [[LS_TabbarControllerConfig alloc] init];
    self.window.rootViewController = tabBarControllerConfig.tabBarController;

    
}

- (void)applicationWillResignActive:(UIApplication *)application {
    
}


- (void)applicationDidEnterBackground:(UIApplication *)application {
  
}


- (void)applicationWillEnterForeground:(UIApplication *)application {
   
}


- (void)applicationDidBecomeActive:(UIApplication *)application {
   
}


- (void)applicationWillTerminate:(UIApplication *)application {
    
}


@end
